package com.ruike.alisurface.bean;

import java.util.List;

/**
 * 机器的时间限制以及答题时间对象
 */
public class TimeLimitBean {

    /**
     * question_max_limit : 2
     * set_pass_count : 3
     * question_count : 5
     * questionTime : 2
     * rightWaitTime : 2
     * errorWaitTime : 2
     * question_time_set : {"time_arr":["05:00","12:00"],"start_time":"05:00","end_time":"12:00","mock_start_time":"2024-03-18 05:00:00","mock_end_time":"2024-03-18 12:00:00"}
     * sales_time_set : 0:00-05:00，12:00-24:00
     */

    int question_max_limit;
    int set_pass_count;
    int question_count;
    int questionTime;
    int rightWaitTime;
    int errorWaitTime;
    QuestionTimeSetBean question_time_set;
    String sales_time_set;

    public int getQuestion_max_limit() {
        return question_max_limit;
    }

    public void setQuestion_max_limit(int question_max_limit) {
        this.question_max_limit = question_max_limit;
    }

    public int getSet_pass_count() {
        return set_pass_count;
    }

    public void setSet_pass_count(int set_pass_count) {
        this.set_pass_count = set_pass_count;
    }

    public int getQuestion_count() {
        return question_count;
    }

    public void setQuestion_count(int question_count) {
        this.question_count = question_count;
    }

    public int getQuestionTime() {
        return questionTime;
    }

    public void setQuestionTime(int questionTime) {
        this.questionTime = questionTime;
    }

    public int getRightWaitTime() {
        return rightWaitTime;
    }

    public void setRightWaitTime(int rightWaitTime) {
        this.rightWaitTime = rightWaitTime;
    }

    public int getErrorWaitTime() {
        return errorWaitTime;
    }

    public void setErrorWaitTime(int errorWaitTime) {
        this.errorWaitTime = errorWaitTime;
    }

    public QuestionTimeSetBean getQuestion_time_set() {
        return question_time_set;
    }

    public void setQuestion_time_set(QuestionTimeSetBean question_time_set) {
        this.question_time_set = question_time_set;
    }

    public String getSales_time_set() {
        return sales_time_set;
    }

    public void setSales_time_set(String sales_time_set) {
        this.sales_time_set = sales_time_set;
    }

    public static class QuestionTimeSetBean {
        /**
         * time_arr : ["05:00","12:00"]
         * start_time : 05:00
         * end_time : 12:00
         * mock_start_time : 2024-03-18 05:00:00
         * mock_end_time : 2024-03-18 12:00:00
         */

        String start_time;
        String end_time;
        String mock_start_time;
        String mock_end_time;
        List<String> time_arr;

        public String getStart_time() {
            return start_time;
        }

        public void setStart_time(String start_time) {
            this.start_time = start_time;
        }

        public String getEnd_time() {
            return end_time;
        }

        public void setEnd_time(String end_time) {
            this.end_time = end_time;
        }

        public String getMock_start_time() {
            return mock_start_time;
        }

        public void setMock_start_time(String mock_start_time) {
            this.mock_start_time = mock_start_time;
        }

        public String getMock_end_time() {
            return mock_end_time;
        }

        public void setMock_end_time(String mock_end_time) {
            this.mock_end_time = mock_end_time;
        }

        public List<String> getTime_arr() {
            return time_arr;
        }

        public void setTime_arr(List<String> time_arr) {
            this.time_arr = time_arr;
        }

        @Override
        public String toString() {
            return "QuestionTimeSetBean{" +
                    "start_time='" + start_time + '\'' +
                    ", end_time='" + end_time + '\'' +
                    ", mock_start_time='" + mock_start_time + '\'' +
                    ", mock_end_time='" + mock_end_time + '\'' +
                    ", time_arr=" + time_arr +
                    '}';
        }
    }

    @Override
    public String toString() {
        return "TimeLimitBean{" +
                "question_max_limit=" + question_max_limit +
                ", set_pass_count=" + set_pass_count +
                ", question_count=" + question_count +
                ", questionTime=" + questionTime +
                ", rightWaitTime=" + rightWaitTime +
                ", errorWaitTime=" + errorWaitTime +
                ", question_time_set=" + question_time_set +
                ", sales_time_set='" + sales_time_set + '\'' +
                '}';
    }
}
